package cn.com.wangluotongxin.admin.eureka.fallback;

import cn.com.wangluotongxin.admin.eureka.AdminClient;
import cn.com.wangluotongxin.admin.eureka.form.*;
import cn.com.wangluotongxin.admin.model.AdminMerchantsInfo;
import cn.com.wangluotongxin.common.web.AjaxResult;

public class AdminClientFallback implements AdminClient {

    @Override
    public AjaxResult<AdminMerchantsInfo> applyMerchants(MerchantsInfoAddForm form) {
        return AjaxResult.error("服务链接失败");
    }

    @Override
    public AjaxResult cancelApply(CancelMerchantApplyForm form) {
        return AjaxResult.error("服务链接失败");
    }

    @Override
    public AjaxResult addSysMessage(AddSysMessageForm form) {
        return AjaxResult.error("服务链接失败");
    }

    @Override
    public AjaxResult goodsInfoRelease(GoodsInfoReleaseForm form) {
        return AjaxResult.error("服务链接失败");
    }

    @Override
    public AjaxResult goodsInfoRecall(GoodsInfoRecallForm form) {
        return AjaxResult.error("服务链接失败");
    }
}
